import java.util.Scanner;

public class Exer3_7_5 {
    public static void main(String[] args) {
        Scanner input= new Scanner(System.in);
        System.out.println("请输入王菲的语文、数学、英语成绩：");
        double score1=input.nextDouble();
        double score2=input.nextDouble();
        double score3=input.nextDouble();
        double sum=score1+score2+score3;
        double avg=sum/3;
        System.out.println("三门课平均分为："+avg);
        System.out.println("三门课总分为："+sum);
        if(score1>=60&&score2>=60&&score3>=60&&avg>80){
            System.out.println("获得一等奖学金1500元");
        }else if(score1>=60&&score2>=60&&score3>=60&&avg>75){
            System.out.println("获得二等奖学金1000元");
        }else if((score1<60||score2<60||score3<60)&&avg>70){
            System.out.println("获得三等奖学金500元");
        }else{
            System.out.println("没有奖学金");
        }

    }
}
